ProjectOptions() having wrong values
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
ProjectOptions() reports host machine value, ignoring --target-arch value.
This is inconsistent with values passed later the plugins in the build script
For example for --target-arch armhf
ProjectOptions().is_cross_compiling: False
ProjectOptions().target_arch: arm64
ProjectOptions().cross_compiler_prefix: aarch64-linux-gnu-
ProjectOptions().arch_triplet: aarch64-linux-gnu
ProjectOptions().deb_arch: arm64
ProjectOptions().kernel_arch: arm64
yet in the build.sh values are:
export SNAPCRAFT_ARCH_TRIPLET="arm-linux-gnueabihf"
export SNAPCRAFT_TARGET_ARCH="armhf"
Evaluation history
No evaluation history available.